#include "Tools/ToolMoveCamera.h"

using namespace Ogre;
ToolMoveCamera::ToolMoveCamera(Ogre::Camera *mCam)
{

	action = new ActionMoveCamera(mCam);
}

ToolMoveCamera::~ToolMoveCamera(){}

void ToolMoveCamera::updateGraphics(const FrameEvent &evt){

	action->updateGraphics(evt);
	
}

void ToolMoveCamera::mouseMoved(const OIS::MouseEvent &evt){

	action->mouseMoved(evt);
}

void ToolMoveCamera::keyPressed(const OIS::KeyEvent &evt){
	
	action->keyPressed(evt);
}
void ToolMoveCamera::keyReleased(const OIS::KeyEvent &e){

	action->keyReleased(e);
}
